Global Index
HTML5 JS API Index > WebRTC Tutorials & Specs

RTCDTMFSender

This type groups properties and / or operations together for documentation purposes and does not have an explicit JavaScript representation.

Properties
boolean
canInsertDTMF
The canInsertDTMF attribute MUST indicate if the RTCDTMFSender is capable of sending DTMF.
long
duration
The duration attribute MUST return the current tone duration value. This value will be the value last set via the insertDTMF() method, or the default value of 100 ms if insertDTMF() was called without specifying the duration.
long
interToneGap
The interToneGap attribute MUST return the current value of the between-tone gap. This value will be the value last set via the insertDTMF() method, or the default value of 50 ms if insertDTMF() was called without specifying the interToneGap.
EventHandler
ontonechange
This event handler uses the RTCDTMFToneChangeEvent interface to return the character for each tone as it is played out. See RTCDTMFToneChangeEvent for details.
DOMString
toneBuffer
The toneBuffer attribute MUST return a list of the tones remaining to be played out. For the syntax, content, and interpretation of this list, see insertDTMF.
MediaStreamTrack
track
The track attribute MUST return the MediaStreamTrack given as argument to the createDTMFSender() method.
Operations
void
insertDTMF(DOMString tones, optional long duration, optional long interToneGap)
An RTCDTMFSender object’s insertDTMF() method is used to send DTMF tones.
Referenced by
RTCPeerConnectioncreateDTMFSender(...)